<?PHP
if (!session_start()) { session_start(); };
/*if (!isset($_SESSION['lgnapproved'])) {
	die(header('Location: login.php'));
}*/
include("functions.php");
include("cnnxn.php");
connect();

$SQLview='SELECT * FROM av_eventdivisions;';
//print $SQLview;
$sendit_view=mysqli_query($db,$SQLview) or die(mysqli_error($db));

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>daleclark.net</title>
<link type="text/css" rel="stylesheet" href="adminstyles.css" />
</head>
<body>
<div id="adminwrapper">
<div id="adminlogo"></div>
<?PHP navigation(); ?>
<div id="admincontent">
<h3>av_eventdivisions</h3><ul><?PHP 
while ($RSview=mysqli_fetch_object($sendit_view)) {
print '<li>';
print '<a href="av_eventdivisions_mod.php?id='.stripslashes($RSview->id).'">'.$RSview->id.'&nbsp;&nbsp;||&nbsp;&nbsp;'.$RSview->eventid.'&nbsp;&nbsp;||&nbsp;&nbsp;'.$RSview->divisionid.'&nbsp;&nbsp;||&nbsp;&nbsp;'.$RSview->numberofteams.'</a>';
print '</li>';
}
?>
</ul></div>
</div>
</body>
</html>
<?PHP
mysqli_close($db);
?>